package com.woniu.hospital.domain;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

public class EquipemntUseVo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long equipmentuseId;

    /** $column.columnComment */
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date equipmentuseTime;

    /** $column.columnComment */
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date equipmentuseReturntime;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private BigDecimal equipmentuseMoney;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long equipmentId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long docterId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String docterName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long patientId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String patientName;


    public EquipemntUseVo(Long equipmentuseId, Date equipmentuseTime, Date equipmentuseReturntime, BigDecimal equipmentuseMoney, Long equipmentId, Long docterId, String docterName, Long patientId, String patientName) {
        this.equipmentuseId = equipmentuseId;
        this.equipmentuseTime = equipmentuseTime;
        this.equipmentuseReturntime = equipmentuseReturntime;
        this.equipmentuseMoney = equipmentuseMoney;
        this.equipmentId = equipmentId;
        this.docterId = docterId;
        this.docterName = docterName;
        this.patientId = patientId;
        this.patientName = patientName;
    }

    public EquipemntUseVo() {
    }

    @Override
    public String toString() {
        return "EquipemntUseVo{" +
                "equipmentuseId=" + equipmentuseId +
                ", equipmentuseTime=" + equipmentuseTime +
                ", equipmentuseReturntime=" + equipmentuseReturntime +
                ", equipmentuseMoney=" + equipmentuseMoney +
                ", equipmentId=" + equipmentId +
                ", docterId=" + docterId +
                ", docterName='" + docterName + '\'' +
                ", patientId=" + patientId +
                ", patientName='" + patientName + '\'' +
                '}';
    }

    public Long getEquipmentuseId() {
        return equipmentuseId;
    }

    public void setEquipmentuseId(Long equipmentuseId) {
        this.equipmentuseId = equipmentuseId;
    }

    public Date getEquipmentuseTime() {
        return equipmentuseTime;
    }

    public void setEquipmentuseTime(Date equipmentuseTime) {
        this.equipmentuseTime = equipmentuseTime;
    }

    public Date getEquipmentuseReturntime() {
        return equipmentuseReturntime;
    }

    public void setEquipmentuseReturntime(Date equipmentuseReturntime) {
        this.equipmentuseReturntime = equipmentuseReturntime;
    }

    public BigDecimal getEquipmentuseMoney() {
        return equipmentuseMoney;
    }

    public void setEquipmentuseMoney(BigDecimal equipmentuseMoney) {
        this.equipmentuseMoney = equipmentuseMoney;
    }

    public Long getEquipmentId() {
        return equipmentId;
    }

    public void setEquipmentId(Long equipmentId) {
        this.equipmentId = equipmentId;
    }

    public Long getDocterId() {
        return docterId;
    }

    public void setDocterId(Long docterId) {
        this.docterId = docterId;
    }

    public String getDocterName() {
        return docterName;
    }

    public void setDocterName(String docterName) {
        this.docterName = docterName;
    }

    public Long getPatientId() {
        return patientId;
    }

    public void setPatientId(Long patientId) {
        this.patientId = patientId;
    }

    public String getPatientName() {
        return patientName;
    }

    public void setPatientName(String patientName) {
        this.patientName = patientName;
    }
}
